import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import 'animate.css'
import { fetch, post, patch, put } from './common/js/http'
import './plugins/antd.js'
import './plugins/element.js'
import './plugins/preview.js'
import './common/stylus/index.styl'
import './common/js/jsPrototype'
import $ from 'jquery'
// import * as monaco from 'monaco-editor'

Vue.config.productionTip = false

Vue.prototype.$http = axios
Vue.prototype.$fetch = fetch
Vue.prototype.$post = post
Vue.prototype.$patch = patch
Vue.prototype.$put = put
Vue.prototype.$ = $
// Vue.prototype.monaco = monaco

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
